package com.ruoyi.pm.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * js方法引入的第三方js库对象 saas_supplier_main_import
 * 
 * @author ruoyi
 * @date 2022-03-22
 */
public class SaasSupplierMainImport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** js方法表id */
    @Excel(name = "js方法表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long mainId;

    /** 引用js文件的路径 */
    @Excel(name = "引用js文件的路径")
    private String jsUrl;

    /** 引用顺序 */
    @Excel(name = "引用顺序")
    private String orderBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMainId(Long mainId) 
    {
        this.mainId = mainId;
    }

    public Long getMainId() 
    {
        return mainId;
    }
    public void setJsUrl(String jsUrl) 
    {
        this.jsUrl = jsUrl;
    }

    public String getJsUrl() 
    {
        return jsUrl;
    }
    public void setOrderBy(String orderBy) 
    {
        this.orderBy = orderBy;
    }

    public String getOrderBy() 
    {
        return orderBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mainId", getMainId())
            .append("jsUrl", getJsUrl())
            .append("orderBy", getOrderBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
